/*
**This is intended for testing anything.
*/

#include <stdio.h>

int main() {
    char c, check = 0;
    c = getchar();
    if ( c == '\n' ) check = 1;
    printf("%d",check);
    return 0;
}